<%@include file="taglib_includes.jsp" %>
<html>
<head>
	<script type="text/javascript" src="js/cpo.js">></script>
	<title><spring:message code="App.Title.userRegistration"></spring:message></title>
</head>
<body style="font-family: Arial; font-size:smaller;">
<table  bgcolor="lightblue" width="750" height="500" align="center" style="border-collapse: collapse;" border="1" bordercolor="#006699" >
	<tr>
		<td align="center"><h3>Add Employee</h3></td>
	</tr>
	
	<tr valign="top" align="center">
    <td align="center">
    	<form:form action="registerUser.do" method="post" commandName="UserRegistration">
    		<table width="500" style="border-collapse: collapse;" border="0" bordercolor="#006699" cellspacing="2" cellpadding="2">
    		
    				<tr>
						<td width="100" align="right">Employee ID:</td>
						<td width="150">
						<form:input path="empid"/></td>
						<td align="left">
						<form:errors path="empid" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">First Name:</td>
						<td width="150">
						<form:input path="firstName"/></td>
						<td align="left">
						<form:errors path="firstName" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Last Name:</td>
						<td width="150">
						<form:input path="lastName"/></td>
						<td align="left">
						<form:errors path="lastName" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
    		
    				<tr>
						<td width="100" align="right">DOB:</td>
						<td width="150">
						<form:input path="dob"/></td>
						<td align="left">
						<form:errors path="dob" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Designation:</td>
						<td width="150">
						<form:input path="designation"/></td>
						<td align="left">
						<form:errors path="designation" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">User Type:</td>
						<td width="150">
						<form:input path="userType"/></td>
						<td align="left">
						<form:errors path="userType" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Email:</td>
						<td width="150">
						<form:input path="email"/></td>
						<td align="left">
						<form:errors path="email" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
					<tr>
						<td width="100" align="right">Mobile:</td>
						<td width="150">
						<form:input path="mobile"/></td>
						<td align="left">
						<form:errors path="mobile" cssStyle="color:red"></form:errors> 
						</td>
					</tr>
					
						<tr>
						<td colspan="3" align="center">
						<input type="submit" name="" value="Save">
						&nbsp;&nbsp;
						<input type="reset" name="" value="Reset">
						&nbsp;&nbsp;
						<input type="button"  value="Back" onclick="javascript:go('home.do');">
						</td>
					</tr>
    		</table>	
    	
    	</form:form>
    
    </td>
    </tr>
</table>

</body>
</html>